package com.wq.hardcodeaudiovideostudy.permission;


import android.Manifest;
import android.app.Activity;
import android.content.Context;

import androidx.core.app.ActivityCompat;

public class RequestPermissionManager {
    private static final String[] BASIC_PERMISSIONS = new String[]{
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.CAMERA,
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.RECORD_AUDIO,
    };
    public static void startRequestPermission(Activity mActivity) {
        ActivityCompat.requestPermissions( mActivity,BASIC_PERMISSIONS,123);
    }
}